Automattic\Jetpack\Waf\Waf_Runtime D

Total Complexity 144
Dependencies 4
Dependents 1
Total lines 751
Lines of code 448
Logical lines of code 278
Comment lines 226
Methods 24
Properties 11

Methods 24

Method Rating Maintainability Complexity Lines of code
meta()
D
34 34 82
normalize_targets()
C
33 30 90
normalize_array_target()
A
44 12 48
update_targets()
A
51 10 28
match_targets()
A
48 8 34
key_matches()
S
60 5 14
block()
S
58 5 13
write_blocklog()
S
55 4 19
write_blocklog_row()
S
59 4 14
array_flatten()
S
60 4 14
flag_target_for_removal()
S
62 4 12
rule_removed()
S
63 4 11
connect_to_wordpress_db()
S
61 3 12
state_values()
S
63 3 10
flag_rule_for_removal()
S
69 2 7
dec_var()
S
70 2 6
inc_var()
S
70 2 6
get_var()
S
73 2 5
is_ip_in_array()
S
72 1 5
__construct()
S
77 1 4
normalize_header_name()
S
78 1 3
unset_var()
S
80 1 3
redirect()
S
72 1 5
set_var()
S
80 1 3